<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>小程序管理平台</title>
		<link rel="stylesheet" href="css/mui.min.css" />
		<script type="text/javascript" src="js/mui.min.js" ></script>
		<script type="text/javascript" src="js/jquery.js" ></script>
		<style>
			body {
				background-color: #354152;
			}
			.mui-content {
				background-color: #354152;
			}
			form {
				width: 400px;
				margin: 100px auto;
			}
			.title {
				text-align: center;
				margin-top: 100px;
				font-size: 44px;
				font-weight: bold;
			}
			button {
				width: 150px;
			}
			.tigong {
				position: fixed;
				width: 100%;
				height: 44px;
				line-height: 44px;
				bottom: 20px;
				text-align: center;
			}
		</style>
	</head>
	<body>
		<div class="mui-content">
			<div class="title">小程序管理平台</div>
			<form class="mui-input-group">
			    <div class="mui-input-row">
			        <label>用户名</label>
			    <input id="username" type="text" class="mui-input-clear" placeholder="请输入用户名">
			    </div>
			    <div class="mui-input-row">
			        <label>密码</label>
			        <input id="paw" type="password" class="mui-input-password" placeholder="请输入密码">
			    </div>
			    <div class="mui-button-row">
			        <button id="btn" type="button" class="mui-btn mui-btn-primary" >登录</button>
			    </div>
			</form>
		</div>
		<div class="tigong">由四川鲸飞网络科技有限公司提供</div>
	</body>
	<script>
		$('#btn').click(function(){
			var username = $('#username').val();
			var paw = $('#paw').val();
			if (username == 'admin' && paw == '123456')  {
				// 登录成功
				window.location.href = 'setting.html'
			}else{
				alert('用户名或密码错误');
			}
		})
	</script>
</html>
